pragma Singleton

import QtQuick
import QtQuick.Controls

// 定义一个全局的弹出窗口组件
QtObject{
    id:root

    property point showPos : Qt.point(200,200)

    property var curTableObj

    enum FruitColor {
        TABLE,
        TEXT,
        IMAGE,
        VIDEO,
        TITLE,
        VIEW3D
    }

    //报错
    signal thowException(var name,var what)

    //合并单元格
    function mergeCells()
    {
        curTableObj.onMergeCells()
    }
    //取消合并单元格
    function unmergeCells()
    {

        curTableObj.onUnmergeCells()
    }
}


